package models

type Order struct{
	ID          int64 `sql:"ID"`
	UserId      int64 `sql:"userID"`
	ProductId   int64 `sql:"productID"`
	OrderStatus int64 `sql:"orderStatus"`
}

// 定义常量
const (
	// 订单状态的常量
	OrderWait    = iota
	OrderSuccess //1
	OrderFailed  //2
)